package com.tbryant.test.designpattern.cainiaocourse.command;

/**
 * @author TBryant
 * @date 2021/8/25 15:48
 */
public class BuyStock implements Order {
    private Stock abcStock;

    public BuyStock(Stock abcStock){
        this.abcStock = abcStock;
    }

    public void execute() {
        abcStock.buy();
    }
}
